package com.yanyeori.framework.security.entity;

import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

import java.io.Serializable;

/**
 * t_user
 *
 * @author chenkuan 2020/11/20
 */
@Getter
@Setter
@NoArgsConstructor
public class User implements Serializable {
    private static final long serialVersionUID = 1L;

    //用户id
    private String userId;
    //用户名
    private String username;
    //昵称
    private String nickname;
    //密码
    private String password;
    //密码更新时间
    private Long pwdUpdateTime;
    //密码输入错误次数（当日）
    private Integer pwdErrorTimes;
    //账户状态(0-禁用，1-正常)
    private Integer status;
    //描述
    private String description;
    //创建人
    private String createUser;
    //创建时间
    private Long createTime;
    //更新人
    private String updateUser;
    //更新时间
    private Long updateTime;

    public User(String username, String password) {
        this.username = username;
        this.password = password;
    }
}
